package com.hdoit.ares.logical.official.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.tennetcn.common.message.ModelBase;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年03月10日 15:37:45
 * @comment
 */
@Entity
@Table(name="official_artical_praise")
public class ArticalPraise extends ModelBase{
    //主键id
    @Id
    @Column(name="id")
    private String id;

    //类型
    @Column(name="type")
    private String type;

    //文章、视频或者评论的id
    @Column(name="receiveId")
    private String receiveId;

    //点赞人id
    @Column(name="customerId")
    private String customerId;

    //点赞的时间
    @Column(name="createTime")
    private Date createTime;

    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getType(){
        return this.type;
    }
    public void setType(String type){
         this.type=type;
    }

    public String getReceiveId(){
        return this.receiveId;
    }
    public void setReceiveId(String receiveId){
         this.receiveId=receiveId;
    }

    public String getCustomerId(){
        return this.customerId;
    }
    public void setCustomerId(String customerId){
         this.customerId=customerId;
    }

    public Date getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Date createTime){
         this.createTime=createTime;
    }

}